package com.wyw.design.model.learning.behavioral.mediator;

/**
 * @Title   抽象同事类
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/4/18 10:43
 * Update History:
 * Author        Time            Content
 */
public abstract class Colleague {
    // 每个同事类角色都必须知道中介者角色的存在
    protected Mediator mediator;
    public Colleague(Mediator mediator) {
        this.mediator = mediator;
    }
}
